package com.cn.mmd.mapper;

import com.cn.mmd.model.EmploymentQuestionnaire;
import com.cn.mmd.model.EmploymentQuestionnaireExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EmploymentQuestionnaireMapper {
    int countByExample(EmploymentQuestionnaireExample example);

    int deleteByExample(EmploymentQuestionnaireExample example);

    int deleteByPrimaryKey(Integer employmentid);

    int insert(EmploymentQuestionnaire record);

    int insertSelective(EmploymentQuestionnaire record);

    List<EmploymentQuestionnaire> selectByExample(EmploymentQuestionnaireExample example);

    EmploymentQuestionnaire selectByPrimaryKey(Integer employmentid);

    int updateByExampleSelective(@Param("record") EmploymentQuestionnaire record, @Param("example") EmploymentQuestionnaireExample example);

    int updateByExample(@Param("record") EmploymentQuestionnaire record, @Param("example") EmploymentQuestionnaireExample example);

    int updateByPrimaryKeySelective(EmploymentQuestionnaire record);

    int updateByPrimaryKey(EmploymentQuestionnaire record);

    EmploymentQuestionnaire selectByQuestionnaireId(int questionnaire);
}